
import { createRouter, createWebHistory } from "vue-router";
const router = createRouter({
  history: createWebHistory(),
  routes: [
    {
      path: "/",
      redirect: "/register",
    },
    {
      path: "/register",
      component: () => import("../view/register.vue"),
    },
    {
      path: "/login",
      component: () => import("../view/login.vue"),
    },
    {
      path: "/userLoginList",
      component: () => import("../view/userLoginList.vue"),
    },
    {
      path: "/InvestAdd",
      component: () => import("../view/InvestAdd.vue"),
    },
    {
      path: "/InvestList",
      component: () => import("../view/InvestList.vue"),
    },
    {
      path: "/InvestDel",
      component: () => import("../view/slotInvestDel.vue"),
    },
  ],
});
export default router;


